<script></script>
<template>
    <div class="header">我是头部组件</div>
</template>
<style>
.header{
    background-color: #8064a2;
    color: white;
    line-height: 100px;
    text-align: center;
}
</style>